$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;
$f: 19.2;

.home {
  position: relative;
  width: 100%;



  .section1 {
    margin: 11vw 15vw 0 15vw;
    display: flex;
    justify-content: space-between;
    gap: 4%;
    transform: scale(.95);
    .l {
      width: 60%;

      .t1 {
        color: #6456A3;
        font-size: $fontSize_50;
        font-style: italic;
        font-weight: 500;
        text-transform: capitalize;
        font-family: 'Newsreader';
        line-height: 1.2;
      }

      .des {
        color: #999BB0;
        font-family: Montserrat;
        font-size: $fontSize_24;
        font-style: italic;
        line-height: 1.6;
        margin: 2vw 0 3vw 0;
        font-family: 'Montserrat-Light';
      }

      a {
        display: flex;
        align-items: center;
        width: fit-content;
        p {
          color: #6456A3;
          font-family: Lexend;
          font-size:$fontSize_22;
          font-weight: 600;
          text-transform: capitalize;
          font-family: 'Lexend';
        }
        svg{
          display: block;
        }
      }
    }

    .r {
      width: 40%;

      img {
        width: 100%;
        display: block;
        object-fit: contain;
        transition: all 600ms;
      }
      &:hover{
        img{
          transform: scale(1.05);
        }
      }
    }
  }

  .section2{
    margin: 7vw 15vw;
    display: flex;
    justify-content: space-between;
    transform: scale(.95);
    .item{
      width: 20%;
      text-align: center;
      .icon{
        width:100%;
        svg{
          width: 100%;
          height: auto;
          object-fit: contain;
          path{
            transition: all 600ms;
          }
        }
      }
      .t{
        color: #6456A3;
        font-size: $fontSize_32;
        font-family: 'Montserrat-Light';
        text-transform: uppercase;
        position: relative;
        padding: 2vw 0 1vw 0;
        transition: all 600ms;
        &::after{
          content:'';
          display: block;
          position: absolute;
          left: 50%;
          bottom:0;
          background: #999BB0;
          width: 116/$f+vw;
          height: 1px;
          transform: translateX(-50%);
        }
      }
      .des{
        color: #999BB0;
        font-family: 'Montserrat-Light';
        font-size: $fontSize_18;
        font-style: italic;
        width: 82%;
        margin: 0.5vw auto;
        line-height: 1.5;
      }
      &:hover{
        .icon{
          svg{
            .path1{
              fill: #61C0BD;
            }
            .path2{
              stroke: #61C0BD;
            }
          }
        }
        .t{
          color: #61C0BD;
        }
      }
    }
  }

  .section3{
    background: #F7F6FA;
    padding: 4vw 13vw;
    .box{
      display: flex;
      justify-content: space-between;
      // gap: 5%;
      margin-bottom: 3vw;
      transform: scale(.95);
      .l{
        width: 45%;
        position: relative;
        .swiper-container{
          width: 100%;
          .pic{
            img{
              width: 100%;
              display: block;
              object-fit: cover;
            }
          }
        }
        .swiper-pagination{
          position: absolute;
          left: 0;
          bottom:5%;
          width: 100%;
          display: flex;
          justify-content: center;
          .swiper-pagination-bullet{
            width: 12/$f+vw;
            height: 12/$f+vw;
            background: #7E7B7B;
            opacity: 1;
            margin: 0 0.1vw;
            transition: all 600ms;
          }
          .swiper-pagination-bullet-active{
            width: 35/$f+vw;
            border-radius: 20px;
          }
        }
      }
      .r{
        width:45%;
        .t{
          color: #6456A3;
          font-size: $fontSize_24;
          font-weight: 600;
          text-transform: capitalize;
          font-family: 'Montserrat-Regular.otf';
          position: relative;
          padding: 0.7vw 0;
          margin-top: 3vw;
          &::after{
            content:'';
            display: block;
            position: absolute;
            left: 0;
            bottom:0;
            width: 110/$f+vw;
            height: 1px;
            background: #999BB0;
          }
        }
        .des{
          color: #999BB0;
          font-size: $fontSize_18;
          font-style: italic;
          font-family: 'Montserrat-Light';
          line-height: 1.5;
          width: 85%;
          margin-top: 0.6vw;
        }
      }
    }
    .box:nth-child(2n){
      flex-direction: row-reverse;
      .r{
        .des{
          width: 100%;
        }
      }
    }
  }

  .section4{
    background: #61C0BD;
    text-align: center;
    padding: 5vw 0 3vw 0;
    .t{
      color: #FFF;
      font-size: $fontSize_70;
      font-family: 'Montserrat-Regular.otf';
      text-transform: capitalize;
      line-height: 1.2;
    }
    a{
      display: flex;
      justify-content: center;
      width: fit-content;
      margin: 3vw auto 0 auto;
      align-items: center;
      p{
        font-size: $fontSize_24;
        font-style: italic;
        font-family: 'Newsreader';
        color:white;
        text-transform: capitalize;
      }
      svg{
        display: block;
        margin-top: 0.3vw;
        width: 30/$f+vw;
      }
    }
  }



  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .section1{
      margin:20px 5%;
      flex-direction: column-reverse;
      transform: scale(1);
      .l{
        width: 100%;
        margin-top: 20px;
        .t1{
          font-size: 24px;
        }
        .des{
          font-size: 18px;
          margin: 20px 0 30px 0;
        }
        a{
          p{
            font-size: 16px;
          }
          svg{
            width: 20px;
          }
        }
      }
      .r{
        width: 100%;
      }
    }
    .section2{
      margin: 20px 5%;
      transform: scale(1);
      flex-direction: column;
      .item{
        width: 100%;
        margin-top: 30px;
        .icon{
          svg{
            width: 60%;
          }
        }
        .t{
          font-size: 20px;
          padding: 20px 0 15px 0;
          &::after{
            width: 100px;
          }
        }
        .des{
          font-size: 16px;
          margin-top: 10px;
        }
      }
    }
    .section3{
      padding: 30px 5%;
      transform: scale(1);
      .box{
        flex-direction: column;
        margin-bottom: 30px;
        .l{
          width: 100%;
          .swiper-pagination{
            .swiper-pagination-bullet{
              width: 10px;
              height: 10px;
              margin: 0 2px;
            }
            .swiper-pagination-bullet-active{
              width: 30px;
            }
          }
        }
        .r{
          width: 100%;
          .t{
            font-size: 18px;
            margin-top: 20px;
            padding-bottom: 10px;
            &::after{
              width: 50px;
            }
          }
          .des{
            font-size: 16px;
            width: 100%;
            margin-top: 10px;
          }
        }
      }
      .box:nth-child(2n){
        flex-direction: column;
      }
    }
    .section4{
      padding: 40px 0 30px 0;
      .t{
        font-size: 32px;
      }
      a{
        margin: 20px auto 0 auto;
        p{
          font-size: 18px;
        }
        svg{
          width: 25px;
          transform: translateY(2px);
        }
      }
    }
  }
}